<pre>
<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
mysql_connect('localhost','watajax','watajax');
mysql_select_db('watajax');
$start = microtime(true);
$r = mysql_query("SELECT `watajax`.`id`,`watajax`.`firstname`,`watajax`.`lastname`,`watajax`.`group`,`watajax`.`email` FROM `watajax` ORDER BY `watajax`.`firstname` ASC");
while($row = mysql_fetch_assoc($r)) {
	$arr[] = $row;
}
echo (microtime(true)-$start)."\n";
foreach($arr as $row) {
	$row = 1 + 2;
}
echo (microtime(true)-$start);
?>
</pre>